#{extends 'main.html' /}
#{set title:'Search Results' /}

#{if topicResults}
<ul> #{list items:topicResults, as:'Topic'}
<li><a href="@{Application.viewTopicById(Topic.id)}"} >${Topic.title}</a> 
#{/list}
</ul> 
#{else}
No results found!
#{/else}
#{/if}




#{if depResults}
<ul> #{list items:depResults, as:'Department'}
<li><a href="@{Application.viewDepartment(Department.id)}" >${Department.name}</a> 
#{/list}
</ul> 
#{else}
No results found!
#{/else}
#{/if}

